package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 广告审核后表
 * </p>
 *
 * @author LX
 * @since 2018-09-25
 */
@TableName("erp_advertisement")
public class ErpAdvertisement extends Model<ErpAdvertisement> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 内容
     */
    private String content;
    /**
     * 字体
     */
    @TableField("content_family")
    private String contentFamily;
    /**
     * 字号
     */
    @TableField("content_size")
    private String contentSize;
    /**
     * 颜色
     */
    @TableField("content_color")
    private String contentColor;
    /**
     * 播放频率
     */
    @TableField("play_rate")
    private String playRate;
    /**
     * 发布单位
     */
    private String company;
    /**
     * 联系人
     */
    private String contract;
    /**
     * 电话
     */
    private String telphone;
    /**
     * 提交时间
     */
    @TableField("submit_time")
    private String submitTime;
    /**
     * 截止时间
     */
    @TableField("end_time")
    private String endTime;
    /**
     * 核准状态0待审1审核2驳回3欠费
     */
    @TableField("check_state")
    private String checkState;
    /**
     * 核准日期
     */
    @TableField("check_time")
    private String checkTime;
    /**
     * 核准编码
     */
    @TableField("check_number")
    private String checkNumber;
    /**
     * 核准人
     */
    @TableField("checkPeople")
    private String checkPeople;
    /**
     * 服务项目
     */
    @TableField("programs")
    private String programs;
    /**
     * 播放顺序
     */
    @TableField("orderNumber")
    private Integer orderNumber;
    
    @TableField("show_time")
    private Integer showTime;

    /**
     * 变动ID
     */
    @TableField("up_time_id")
    private Integer upTimeId;
    
    
    
    public Integer getUpTimeId() {
		return upTimeId;
	}

	public void setUpTimeId(Integer upTimeId) {
		this.upTimeId = upTimeId;
	}

	public String getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(String checkTime) {
		this.checkTime = checkTime;
	}

	public Integer getShowTime() {
		return showTime;
	}

	public void setShowTime(Integer showTime) {
		this.showTime = showTime;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContentFamily() {
        return contentFamily;
    }

    public void setContentFamily(String contentFamily) {
        this.contentFamily = contentFamily;
    }

    public String getContentSize() {
        return contentSize;
    }

    public void setContentSize(String contentSize) {
        this.contentSize = contentSize;
    }

    public String getContentColor() {
        return contentColor;
    }

    public void setContentColor(String contentColor) {
        this.contentColor = contentColor;
    }

    public String getPlayRate() {
        return playRate;
    }

    public void setPlayRate(String playRate) {
        this.playRate = playRate;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCheckState() {
        return checkState;
    }

    public void setCheckState(String checkState) {
        this.checkState = checkState;
    }

    public String getCheckDate() {
        return checkTime;
    }

    public void setCheckDate(String checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckNumber() {
        return checkNumber;
    }

    public void setCheckNumber(String checkNumber) {
        this.checkNumber = checkNumber;
    }

    public String getCheckPeople() {
        return checkPeople;
    }

    public void setCheckPeople(String checkPeople) {
        this.checkPeople = checkPeople;
    }

    public String getPrograms() {
        return programs;
    }

    public void setPrograms(String programs) {
        this.programs = programs;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpAdvertisement{" +
        ", id=" + id +
        ", content=" + content +
        ", contentFamily=" + contentFamily +
        ", contentSize=" + contentSize +
        ", contentColor=" + contentColor +
        ", playRate=" + playRate +
        ", company=" + company +
        ", contract=" + contract +
        ", telphone=" + telphone +
        ", submitDate=" + submitTime +
        ", endDate=" + endTime +
        ", checkState=" + checkState +
        ", checkDate=" + checkTime +
        ", checkNumber=" + checkNumber +
        ", checkPeople=" + checkPeople +
        ", programs=" + programs +
        ", orderNumber=" + orderNumber +
        "}";
    }
}
